<form
  nz-form
  [formGroup]="carwashForm"
  (ngSubmit)="onSubmit(carwashForm.value)"
>
  <nz-form-item>
    <nz-form-label nzFor="name">名称</nz-form-label>
    <nz-form-control>
      <input
        nz-input
        name="name"
        id="name"
        formControlName="name"
        placeholder="请输入名称"
      />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="city">城市</nz-form-label>
    <nz-form-control>
      <nz-cascader
        name="city"
        id="city"
        formControlName="city"
        [nzOptions]="nzOptions"
      ></nz-cascader>
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="address">地址</nz-form-label>
    <nz-form-control>
      <input
        nz-input
        name="address"
        id="address"
        formControlName="address"
        placeholder="请输入地址"
      />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="longitude">经度</nz-form-label>
    <nz-form-control>
      <input
        nz-input
        name="longitude"
        id="longitude"
        formControlName="longitude"
        placeholder="请输入经度"
      />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="latitude">纬度</nz-form-label>
    <nz-form-control>
      <input
        nz-input
        name="latitude"
        id="latitude"
        formControlName="latitude"
        placeholder="请输入维度"
      />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="price">价格</nz-form-label>
    <nz-form-control>
      <input
        nz-input
        name="price"
        id="price"
        formControlName="price"
        placeholder="请输入价格"
      />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="state">状态</nz-form-label>
    <nz-form-control>
      <nz-radio-group name="state" id="state" formControlName="state">
        <label nz-radio nzValue="0">空闲</label>
        <label nz-radio nzValue="2">维护</label>
      </nz-radio-group>
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-control>
      <button nz-button nzType="primary" [disabled]="disabled">
        修改
      </button>
    </nz-form-control>
  </nz-form-item>
</form>
